package fr.afcepf.iziticket.services;

import fr.afcepf.iziticket.entities.Client;

public class SigninService {

	private static SigninService service;
	
	public static SigninService getService(){
		if(service==null)
			service = new SigninService();
		return service;
	}
	
	private SigninService() {
	}

	public Client enregistrement(String login, String mail, String mdp, String nom, String prenom, String pseudonyme){
		Client client = new Client();
		client.setLogin(login);
		client.setMail(mail);
		client.setMdp(mdp);
		client.setNom(nom);
		client.setPrenom(prenom);
		client.setPseudonyme(pseudonyme);
		
		return client;
	}
	
}
